package com.zthz.douxing

import org.grails.databinding.BindingFormat

class DouXingLog {

    String logDesc

    String ipAddreess

    @BindingFormat(code = 'date.formats.date')
    Date createDate

    static belongsTo = [person:Person]

    static constraints = {
        logDesc nullable: false,maxSize: 10000
        ipAddreess nullable: true
        person nullable: true
        createDate nullable: false
    }

}
